<div class="block" id="block-tables">

                <div class="secondary-navigation">
                    <ul class="wat-cf">
                        <li class="first active"><a href="t_pegawai">Listing</a></li>
                        <li><a href="t_pegawai/create/">New record</a></li>
                    </ul>
                </div>

                <div class="content">
                    <div class="inner">
                        <h3>List of {$table_name}</h3>

                        {if !empty( $t_pegawai_data )}
                        <form action="t_pegawai/delete" method="post" id="listing_form">
                            <table class="table">
                            	<thead>
                                    <th width="20"> </th>
                                    			<th>{$t_pegawai_fields.NIP}</th>
			<th>{$t_pegawai_fields.NOMOR_INDUK}</th>
			<th>{$t_pegawai_fields.NM_PEGAWAI}</th>
			<th>{$t_pegawai_fields.INISIAL}</th>
			<th>{$t_pegawai_fields.KOTA_LAHIR}</th>
			<th>{$t_pegawai_fields.TANGGAL_LAHIR}</th>
			<th>{$t_pegawai_fields.KD_JENIS_KELAMIN}</th>
			<th>{$t_pegawai_fields.KD_GOL_DARAH}</th>
			<th>{$t_pegawai_fields.KD_AGAMA}</th>
			<th>{$t_pegawai_fields.KD_STATUS_NIKAH}</th>
			<th>{$t_pegawai_fields.ALAMAT}</th>
			<th>{$t_pegawai_fields.KD_POS}</th>
			<th>{$t_pegawai_fields.NO_TELP}</th>
			<th>{$t_pegawai_fields.KD_JENIS_KETENAGAAN}</th>
			<th>{$t_pegawai_fields.NO_HP}</th>
			<th>{$t_pegawai_fields.DIR_FOTO}</th>
			<th>{$t_pegawai_fields.USERNAME}</th>
			<th>{$t_pegawai_fields.TANGGAL_AKSES}</th>
			<th>{$t_pegawai_fields.NOMOR_INDUK_BARU}</th>
			<th>{$t_pegawai_fields.NUPTK}</th>
			<th>{$t_pegawai_fields.GELAR_DEPAN}</th>
			<th>{$t_pegawai_fields.GELAR_BELAKANG}</th>
			<th>{$t_pegawai_fields.NIY_NIGK}</th>
			<th>{$t_pegawai_fields.NIK}</th>
			<th>{$t_pegawai_fields.NM_IBU_KANDUNG}</th>
			<th>{$t_pegawai_fields.RT}</th>
			<th>{$t_pegawai_fields.RW}</th>
			<th>{$t_pegawai_fields.KELURAHAN_DESA}</th>
			<th>{$t_pegawai_fields.KECAMATAN}</th>
			<th>{$t_pegawai_fields.KABUPATEN_KOTA}</th>
			<th>{$t_pegawai_fields.PROPINSI}</th>
			<th>{$t_pegawai_fields.KD_AREA}</th>
			<th>{$t_pegawai_fields.EMAIL}</th>
			<th>{$t_pegawai_fields.STATUS_KEPEGAWAIAN}</th>
			<th>{$t_pegawai_fields.SERTIFIKASI_JABATAN}</th>
			<th>{$t_pegawai_fields.TAHUN_SERTIFIKAT_JABATAN}</th>
			<th>{$t_pegawai_fields.NOMOR_SERTIFIKAT_JABATAN}</th>
			<th>{$t_pegawai_fields.KD_SERTIFIKASI_BIDANG_STUDI}</th>
			<th>{$t_pegawai_fields.KD_PROGRAM_KEAHLIAN}</th>
			<th>{$t_pegawai_fields.LISENSI_KEPALA_SEKOLAH}</th>
			<th>{$t_pegawai_fields.CATATAN}</th>

                                    <th width="80">Actions</th>
                            	</thead>
                            	<tbody>
                                	{foreach $t_pegawai_data as $row}
                                        <tr class="{cycle values='odd,even'}">
                                            <td><input type="checkbox" class="checkbox" name="delete_ids[]" value="{$row.NIP}" /></td>
                                            				<td>{$row.NIP}</td>
				<td>{$row.NOMOR_INDUK}</td>
				<td>{$row.NM_PEGAWAI}</td>
				<td>{$row.INISIAL}</td>
				<td>{$row.KOTA_LAHIR}</td>
				<td>{$row.TANGGAL_LAHIR}</td>
				<td>{$row.KD_JENIS_KELAMIN}</td>
				<td>{$row.KD_GOL_DARAH}</td>
				<td>{$row.KD_AGAMA}</td>
				<td>{$row.KD_STATUS_NIKAH}</td>
				<td>{$row.ALAMAT}</td>
				<td>{$row.KD_POS}</td>
				<td>{$row.NO_TELP}</td>
				<td>{$row.KD_JENIS_KETENAGAAN}</td>
				<td>{$row.NO_HP}</td>
				<td>{$row.DIR_FOTO}</td>
				<td>{$row.USERNAME}</td>
				<td>{$row.TANGGAL_AKSES}</td>
				<td>{$row.NOMOR_INDUK_BARU}</td>
				<td>{$row.NUPTK}</td>
				<td>{$row.GELAR_DEPAN}</td>
				<td>{$row.GELAR_BELAKANG}</td>
				<td>{$row.NIY_NIGK}</td>
				<td>{$row.NIK}</td>
				<td>{$row.NM_IBU_KANDUNG}</td>
				<td>{$row.RT}</td>
				<td>{$row.RW}</td>
				<td>{$row.KELURAHAN_DESA}</td>
				<td>{$row.KECAMATAN}</td>
				<td>{$row.KABUPATEN_KOTA}</td>
				<td>{$row.PROPINSI}</td>
				<td>{$row.KD_AREA}</td>
				<td>{$row.EMAIL}</td>
				<td>{$row.STATUS_KEPEGAWAIAN}</td>
				<td>{$row.SERTIFIKASI_JABATAN}</td>
				<td>{$row.TAHUN_SERTIFIKAT_JABATAN}</td>
				<td>{$row.NOMOR_SERTIFIKAT_JABATAN}</td>
				<td>{$row.KD_SERTIFIKASI_BIDANG_STUDI}</td>
				<td>{$row.KD_PROGRAM_KEAHLIAN}</td>
				<td>{$row.LISENSI_KEPALA_SEKOLAH}</td>
				<td>{$row.CATATAN}</td>

                                            <td width="80">
                                                <a href="t_pegawai/show/{$row.NIP}"><img src="iscaffold/images/view.png" alt="Show record" /></a>
                                                <a href="t_pegawai/edit/{$row.NIP}"><img src="iscaffold/images/edit.png" alt="Edit record" /></a>
                                                <a href="javascript:chk('t_pegawai/delete/{$row.NIP}')"><img src="iscaffold/images/delete.png" alt="Delete record" /></a>
                                            </td>
                            		    </tr>
                                	{/foreach}
                            	</tbody>
                            </table>
                            <div class="actions-bar wat-cf">
                                <div class="actions">
                                    <button class="button" type="submit">
                                        <img src="iscaffold/backend_skins/images/icons/cross.png" alt="Delete"> Delete selected
                                    </button>
                                </div>
                                <div class="pagination">
                                    {$pager}
                                </div>
                            </div>
                        </form>
                        {else}
                            No records found.
                        {/if}

                    </div><!-- .inner -->
                </div><!-- .content -->
            </div><!-- .block -->
